package com.xuecheng.media.service.impl;

import com.xuecheng.media.mapper.MediaMinioFilesMapper;
import com.xuecheng.media.model.po.MediaMinioFiles;
import com.xuecheng.media.service.IMediaMinioFilesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 勾新杰
 * @since 2025-02-09
 */
@Service
@RequiredArgsConstructor
public class MediaMinioFilesServiceImpl extends ServiceImpl<MediaMinioFilesMapper, MediaMinioFiles> implements IMediaMinioFilesService {

    private final MediaMinioFilesMapper mediaMinioFilesMapper;

    /**
     * 查询未合并的分块
     *
     * @return 未合并的分块
     */
    @Override
    public List<MediaMinioFiles> searchUnMergeChunks() {
        return mediaMinioFilesMapper.searchUnMergeChunks();
    }
}
